import axios from "axios";

// console.log(process.env, "process.env");
const request = axios.create({
	baseURL: process.env.VUE_APP_API + "/api",
	timeout: 3000,
});

//2. mock数据的请求axios
const requestMock = axios.create({
	baseURL: "/api",
	timeout: 5000,
});

export { request, requestMock };
